package edu.ptu.acl.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import edu.ptu.acl.entity.Acl;
import edu.ptu.acl.entity.Log;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.IOException;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LinJC
 * @since 2022-03-15
 */
public interface ILogService extends IService<Log> {

    void saveRoleUserLog(Long roleId, List<Long> before , List<Long> after);
    void saveRoleAclLog(Long roleId, List<Long> before , List<Long> after);
    void recover(Long Id) throws IOException;
    Page getLogByCondition(Page page, String fromTime, String toTime, String updator,String type);

}
